package com.abel.demo.dao.mapper;

import com.abel.demo.model.SecAuthorityModel;
import com.abel.demo.model.SecRoleModel;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Author: Abel.lin
 * Date: Created in 2018/7/17 14:35
 * Company: Abel.Studio
 * Copyright: Copyright (c) 2017
 * Description:
 */
public interface AuthorizeMapper {
    public List<SecAuthorityModel> selectAuthoritiesByUsername(@Param("userName") String userName);

    public List<SecRoleModel> selectRolesByUsername(@Param("userName") String userName);
}
